package io.renren.modules.applicant.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.applicant.dao.ApplicantInforDao;
import io.renren.modules.applicant.entity.ApplicantInforEntity;
import io.renren.modules.applicant.service.ApplicantInforService;


@Service("applicantInforService")
public class ApplicantInforServiceImpl extends ServiceImpl<ApplicantInforDao, ApplicantInforEntity> implements ApplicantInforService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ApplicantInforEntity> page = this.page(
                new Query<ApplicantInforEntity>().getPage(params),
                new QueryWrapper<ApplicantInforEntity>()
        );

        return new PageUtils(page);
    }

}
